package com.woniuxy.joylifeshop.service;

import com.woniuxy.common.entity.ShopAddress;
import com.woniuxy.common.entity.ShopUserAddress;
import com.woniuxy.joylifeshop.dto.ObjectDto;

import java.util.List;

public interface AddressService {




    List<ShopUserAddress> readUserMapObject(String userId);


    List<ShopAddress> readUserRealityAddressObject(String userId);

    ObjectDto readDefaultAddress(String userId);

    ObjectDto readOtherMapAddressAndAddressObject(String addrId, String userId);

    ShopUserAddress readOneUserAddress(String addrId);

    ShopAddress readOneAddress(String addrId);

    void modifyAddress(String addrId, String name,
                       String phone, String country, String province, String city,
                       String detail, boolean priority,String userId);
}
